const system = document.querySelector('.system');

axios({
    method: 'get',
    url: 'http://m10.ctymc.cn:24048/Task'
}).then((res) => {
    let v =""
    console.log(res.data)
    const list = res.data
    list.map(item =>{
        console.log(item)
        console.log(item.task_name)
        console.log(item.task_leader)
      v +=`  <tr class="task_list_head">
                <td class="content_style">${item.task_name}</td>
                <td class="content_style increase"><button class="system_btn"type="button" class="btn btn-primary"  id="yy" data-bs-toggle="modal" data-bs-target="#staticBackdrop">+</button></td>
                <td class="content_style">${item.task_leader}</td>
                 <td class="content_style"><input type="date" class="" name="" id="datetime" /></td>
                <td class="content_style"><input type="date" class="" name="" id="datetime" /></td>
                <td class="content_style">可性分析</td>
                <td class="content_style">${item.description}</td>
                <td class="content_style"type="button" class="btn btn-primary"  id="yy" data-bs-toggle="modal" data-bs-target="#staticBackdrop"><button class="btny">编辑</button><button class="btny">更多</button></td>
            </tr>`
            console.log(v)
    }).join('')

    system.innerHTML = v
})